package com.last1mile.dao.interfaces;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.last1mile.pojo.ServeReserveDO;

@Repository
public interface ServeReserveDao {

    Integer insertServeReserve(ServeReserveDO serveReserveDo);
    
    Integer updateServeReserveBeginEndTime(ServeReserveDO serveReserveDo);
    
    List<ServeReserveDO> queryServeReserve(ServeReserveDO serveReserveDo);
    
    ServeReserveDO queryServeReserve(Integer id);
    
    Integer countServeReserve(ServeReserveDO serveReserveDo);
    
    void updateServeStatus(ServeReserveDO serveReserveDo);
}
